import http from '@/utils/http'

// http.config.baseUrl = 'http://localhost:8080'; //; //本地接口地址

http.config.baseUrl =  'https://zcgscs.com'; //; //线上接口地址

// http.config.header.sid = 'sid';

import * as loginApis from './login'
import * as chatApis from './chat'
import * as fileApis from './fileOperate.js'
import * as crypto from '@/utils/crypto.js'
import * as ucenterApis from './ucenter.js'
import * as payApis from './pay.js'
import * as localTypeApis from './localType.js'
import * as orderApis from './order.js'

export {
	loginApis,
	fileApis,
	crypto,
	ucenterApis,
	chatApis,
	payApis,
	localTypeApis,
	orderApis
};

export function getHost() {
	return http.config.baseUrl
}